import { goodsList } from '@/api';
import React, { useEffect } from 'react';

export default function GetData() {

  useEffect(() => {
    getData();
  }, []);
  async function getData() {
    const res: any = await goodsList();
    console.log('res: ', res);
  }

  return (
    <div>GetData</div>
  );
}
